package com.yh.blog.config;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * 个人配置类
 */
@Data
@ToString
@Component
@PropertySource(value = "classpath:person.properties")
@ConfigurationProperties(prefix = "person")
public class PersonConfig {
    private int page_size;
}
